package com.swu.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 手术操作表
 * </p>
 *
 * @author 勾新杰
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("surgery_info")
@Schema(description="手术操作表")
public class SurgeryInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "手术ID")
    @TableId(value = "surgery_id", type = IdType.AUTO)
    private Integer surgeryId;

    @Schema(description = "病案号")
    private String medicalRecordId;

    @Schema(description = "手术操作编码")
    private String surgeryCode;

    @Schema(description = "手术日期")
    private LocalDate surgeryDate;

    @Schema(description = "手术操作名称")
    private String surgeryName;

    @Schema(description = "手术级别：1-4级")
    private Integer surgeryLevel;

    @Schema(description = "术者")
    private String surgeon;

    @Schema(description = "第一助手")
    private String assistant1;

    @Schema(description = "第二助手")
    private String assistant2;

    @Schema(description = "切口愈合类别：0.0类切口 1.I类切口 2.Ⅱ类切口 3.III类切口")
    private Integer healingGrade;

    @Schema(description = "麻醉方式")
    private String anesthesiaType;

    @Schema(description = "麻醉医师")
    private String anesthesiologist;


}
